package hr.ctg.service.dao;

import hr.ctg.domain.model.Zupanija;
import hr.jpa.dao.GenericDAOImpl;

import java.util.List;

import org.jboss.seam.annotations.AutoCreate;
import org.jboss.seam.annotations.Name;

@AutoCreate
@Name("zupanijaDAO")
public class ZupanijaDAO extends GenericDAOImpl<Zupanija, Integer> {

	public List<Zupanija> findByObjekti() {
		return executeNamedQuery("Zupanija.findByObjekti");
	}

}
